import React from 'react';
import ReactDOM from 'react-dom/client';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import App from './App';
import Dashboard from './pages/Dashboard';
import AdminUsers from './pages/AdminUsers';
import Layout from './layout/Layout';
import './index.css';
import { ModeCommentRounded } from '@mui/icons-material';
import ModelManagement from './pages/ModelManagement';


ReactDOM.createRoot(document.getElementById('root')!).render(
  <React.StrictMode>
    <Router>
      <Routes>
        <Route element={<Layout />}>
          <Route path="/" element={<App />} />
          <Route path="/dashboard" element={<Dashboard />} />
          <Route path="/admin-users" element={<AdminUsers />} />
          <Route path="/model-management" element={<ModelManagement />} />
        </Route>
      </Routes>
    </Router>
  </React.StrictMode>
);
